import Vue from 'vue'
import vuex from 'vuex'
//bus
import actions from './loading.js'
//多用
import mutations from './mutations.js' 
import showuserifon from './showuserifon.js' 
import mallcont from './mallcont.js' 
import ifoncenter from './ifoncenter.js' 
import scrollToptask from './scrollToptask.js' 
import routerevemt from './routerevemt.js' 
// import showuserifon from './ifoncenter.js' 
// import showuserifon from './ifoncenter.js' 
// import showuserifon from './ifoncenter.js' 
Vue.use(vuex);
const store =  new vuex.Store({
		 //引入vuex的 可以富哦合 页面引入就要用  this.$store.state.（先引入state 在引入对应的模块 前提是state里面的变量） dialoggh.hh
	modules: {
		mutations,
		showuserifon,
		mallcont,
		ifoncenter,
		scrollToptask,
		routerevemt,
		// dialoggh:loading_fg //引入vuex的 可以富哦合
	},
	actions,
	// state: {
	// 	dfg:'sdf dsfd ' //引入 this.$store.state.dfg
  // },
})
export default store